.class public final Lkairo/android/ui/aa;
.super Ljava/lang/Object;


# static fields
.field protected static a:Lkairo/android/ui/aa;


# instance fields
.field protected b:I

.field protected c:[I

.field protected d:[I

.field protected e:I


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lkairo/android/ui/aa;->b(Ljava/lang/String;)V

    return-void
.end method

.method private static a(F[I)F
    .locals 4

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-nez p1, :cond_0

    :goto_0
    return p0

    :cond_0
    aget v0, p1, v2

    int-to-float v0, v0

    const/high16 v1, 0x41200000    # 10.0f

    div-float/2addr v0, v1

    aget v1, p1, v3

    if-nez v1, :cond_1

    move p0, v0

    goto :goto_0

    :cond_1
    aget v1, p1, v3

    if-ne v1, v2, :cond_2

    add-float/2addr p0, v0

    goto :goto_0

    :cond_2
    aget v1, p1, v3

    const/4 v2, 0x2

    if-ne v1, v2, :cond_3

    sub-float/2addr p0, v0

    goto :goto_0

    :cond_3
    aget v1, p1, v3

    const/4 v2, 0x3

    if-ne v1, v2, :cond_4

    mul-float/2addr p0, v0

    goto :goto_0

    :cond_4
    div-float/2addr p0, v0

    goto :goto_0
.end method

.method public static a(Ljava/lang/String;)Lkairo/android/ui/aa;
    .locals 1

    sget-object v0, Lkairo/android/ui/aa;->a:Lkairo/android/ui/aa;

    if-nez v0, :cond_0

    new-instance v0, Lkairo/android/ui/aa;

    invoke-direct {v0}, Lkairo/android/ui/aa;-><init>()V

    sput-object v0, Lkairo/android/ui/aa;->a:Lkairo/android/ui/aa;

    :cond_0
    sget-object v0, Lkairo/android/ui/aa;->a:Lkairo/android/ui/aa;

    invoke-direct {v0, p0}, Lkairo/android/ui/aa;->b(Ljava/lang/String;)V

    sget-object v0, Lkairo/android/ui/aa;->a:Lkairo/android/ui/aa;

    return-object v0
.end method

.method private b(Ljava/lang/String;)V
    .locals 10

    const/4 v9, 0x3

    const/4 v2, -0x1

    const/4 v8, 0x2

    const/4 v7, 0x1

    const/4 v1, 0x0

    iput v2, p0, Lkairo/android/ui/aa;->b:I

    const/4 v0, 0x0

    iput-object v0, p0, Lkairo/android/ui/aa;->d:[I

    iput-object v0, p0, Lkairo/android/ui/aa;->c:[I

    iput v2, p0, Lkairo/android/ui/aa;->e:I

    if-nez p1, :cond_1

    :cond_0
    return-void

    :cond_1
    const-string v0, ","

    invoke-static {p1, v0, v7, v1}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;ZZ)[Ljava/lang/String;

    move-result-object v3

    move v0, v1

    :goto_0
    array-length v2, v3

    if-ge v0, v2, :cond_0

    aget-object v2, v3, v0

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v4

    if-eqz v4, :cond_2

    if-nez v0, :cond_3

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    iput v2, p0, Lkairo/android/ui/aa;->b:I

    :cond_2
    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_3
    if-eq v0, v7, :cond_4

    if-ne v0, v8, :cond_c

    :cond_4
    invoke-virtual {v2, v1}, Ljava/lang/String;->charAt(I)C

    move-result v4

    const/16 v5, 0x2b

    if-eq v4, v5, :cond_5

    const/16 v5, 0x2d

    if-eq v4, v5, :cond_5

    const/16 v5, 0x2a

    if-eq v4, v5, :cond_5

    const/16 v5, 0x2f

    if-ne v4, v5, :cond_6

    :cond_5
    invoke-virtual {v2, v7}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v2

    :cond_6
    invoke-static {v2}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v2

    const/high16 v5, 0x41200000    # 10.0f

    mul-float/2addr v2, v5

    float-to-int v2, v2

    new-array v5, v8, [I

    const/16 v6, 0x2b

    if-ne v4, v6, :cond_8

    aput v7, v5, v1

    :cond_7
    :goto_2
    aput v2, v5, v7

    if-ne v0, v7, :cond_b

    iput-object v5, p0, Lkairo/android/ui/aa;->c:[I

    goto :goto_1

    :cond_8
    const/16 v6, 0x2d

    if-ne v4, v6, :cond_9

    aput v8, v5, v1

    goto :goto_2

    :cond_9
    const/16 v6, 0x2a

    if-ne v4, v6, :cond_a

    aput v9, v5, v1

    goto :goto_2

    :cond_a
    const/16 v6, 0x2f

    if-ne v4, v6, :cond_7

    const/4 v4, 0x4

    aput v4, v5, v1

    goto :goto_2

    :cond_b
    iput-object v5, p0, Lkairo/android/ui/aa;->d:[I

    goto :goto_1

    :cond_c
    if-ne v0, v9, :cond_2

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    iput v2, p0, Lkairo/android/ui/aa;->e:I

    goto :goto_1
.end method


# virtual methods
.method public final a(F)F
    .locals 1

    iget-object v0, p0, Lkairo/android/ui/aa;->c:[I

    invoke-static {p1, v0}, Lkairo/android/ui/aa;->a(F[I)F

    move-result v0

    return v0
.end method

.method public final a()I
    .locals 1

    iget v0, p0, Lkairo/android/ui/aa;->b:I

    return v0
.end method

.method public final a(I)I
    .locals 4

    const/16 v3, 0x70

    const/4 v2, 0x7

    iget v0, p0, Lkairo/android/ui/aa;->e:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_0

    :goto_0
    return p1

    :cond_0
    iget v0, p0, Lkairo/android/ui/aa;->e:I

    invoke-static {v0, v2}, Lkairo/android/i/a;->a(II)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-static {p1, v2}, Lkairo/android/i/a;->c(II)I

    move-result p1

    :cond_1
    iget v0, p0, Lkairo/android/ui/aa;->e:I

    invoke-static {v0, v3}, Lkairo/android/i/a;->a(II)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-static {p1, v3}, Lkairo/android/i/a;->c(II)I

    move-result p1

    :cond_2
    iget v0, p0, Lkairo/android/ui/aa;->e:I

    or-int/2addr p1, v0

    goto :goto_0
.end method

.method public final b(F)F
    .locals 1

    iget-object v0, p0, Lkairo/android/ui/aa;->d:[I

    invoke-static {p1, v0}, Lkairo/android/ui/aa;->a(F[I)F

    move-result v0

    return v0
.end method
